package cn.wx.scholar.core.mapper;

import cn.wx.scholar.core.entity.TxtAuthors;
import cn.wx.scholar.core.entity.qo.TxtAuthorsQ;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.wx.common.persistence.base.SimpleMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author  
 * @since 2018-08-25
 */
public interface TxtAuthorsMapper extends SimpleMapper<TxtAuthors> {
	
	Long queryUniqueWtihTat(TxtAuthorsQ txtAuthorsQ);
	int insertUniqueWtihTat(TxtAuthors txtAuthors);
	
	/**
	 * 批量插入
	 * @param tat
	 * @param tas
	 */
	void insertWtihTat(@Param(value="tat")String tat,@Param(value="list")List<TxtAuthors> list);
	
}
